#ifndef OPERATERWIDGET_H
#define OPERATERWIDGET_H

#include <QWidget>
#include<QListWidget>
#include"book.h"
#include"friend.h"
#include<QStackedWidget>

class OperaterWidget : public QWidget
{
    Q_OBJECT
public:
    explicit OperaterWidget(QWidget *parent = nullptr);

    //单例模式，返回静态实例对象
    static OperaterWidget& getInstance();


private:
    QListWidget *m_pListW;

    //Friend 和Book
    Friend *m_pFriend;
    Book *m_pBook;

    //堆栈窗口显示布局
    QStackedWidget *m_pSW;




signals:
};

#endif // OPERATERWIDGET_H
